package fox.framework.rpc.context.generator.name;

import fox.framework.rpc.context.RpcDefinitionRegister;
import fox.framework.rpc.context.definition.RpcDefinition;

/**
 * @author cuichao
 * @Description: DefaultRpcNameGenerator
 * @Date: create in 2021/3/12 14:55
 */
public class DefaultRpcNameGenerator implements RpcNameGenerator {

    @Override
    public String generateRpcName(RpcDefinition definition, RpcDefinitionRegister registry) {
        return  definition.metaspace();
    }
}
